﻿namespace D.Domain.SystemDomain.SysOrgDomain.Events
{
    /// <summary>
    /// 领域事件：新增
    /// </summary>
    /// <param name="sysOrgEntity"></param>
    public record SysOrgAddedEvent(SysOrgEntity sysOrgEntity) : INotification;

    /// <summary>
    /// 领域事件：修改
    /// </summary>
    /// <param name="sysOrgEntity"></param>
    public record SysOrgUpdatedEvent(SysOrgEntity sysOrgEntity) : INotification;

    /// <summary>
    /// 领域事件：删除
    /// </summary>
    /// <param name="Id"></param>
    public record SysOrgDeletedEvent(Guid Id) : INotification;
}
